home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
011a
/
kbctl.zip
/
KBCTL.DOC
< prev
Wrap
Text File
|
1991-01-10
|
7KB
|
153 lines
KBCTL
KBCTL is a keyboard controller for an AT compatible machine. It is
designed to be included in your "autoexec.bat" file. KBCTL will chain itself
with interrupt 9 and 16. In most cases it invokes the original interrupts
directly. If one of the special features of KBCTL is needed the original
interrupt may be overridden. In other cases, the interrupts are called
instead of invoked. After completion of the interrupt, additional processing
is performed before returning to the application.
KBCTL is a terminate and stay resident program (TSR) which uses about
2300 bytes of memory. The command can be executed as often as you like to
change the options. Only the original invocation is stored in memory.
Subsequent executions change the data area of the in memory image.
Note that the /S, /C, and /Q features are on by default. Putting the
switch on the command line turns them off. The /P and /E are off by default
and must be turned on by placing the switch on the command line.
Feature Descriptions:
/Rx & /Dy:
The AT keyboard supports control the "typamatic" rate. This is the
speed at which characters are sent when the auto-repeat mode is in effect.
Pressing a key and holding it for a minimum period of time will activate
the automatic mode in which keystrokes are repetitively sent. The minimum
period is set with the "/D" option. There are many rate options available.
However, KBCTL only supports those which are (approximately) multiples of
5 characters per second. The table below demonstrates how these features
are selected.
/P:
Many AT machines also have either EGA or VGA controller cards. However,
the BIOS print screen key does not automatically support printing of the
denser 43 and 50 lines of these cards. This command switch will turn on
the high density printing function. This option may only be reset by
re-booting your machine with the switch off.
/S:
This feature activates the scroll lock key on your keyboard. This key
is a toggle action key. The first time it is pressed the scroll lock
lamp will come on and the all program activity will be frozen. This allows
the user to see rapidly occurring display changes. Pressing the key again
will turn off the lamp and resume program activity.
/C:
With virtually every other computer ever made, the caps lock key does
just what it is supposed to do and nothing else. i.e. There are no side
effects concerning the way the other keys work. On the AT machines,
however, the shift key begins working backwards. That is a shift-a
produces a lower case "a" instead of the upper case "A". The "/C" switch
makes things right again. People who constantly switch between different
computers will appreciate this.
KBCTL
/Q:
The QuickKey feature is a manager for the keyboard buffer as it concerns
repeat key operation. The keyboard buffer is a small (15 keystrokes)
data region where keystrokes are stored until they are used by a program.
This is because some people type faster than some programs can process
data. If this buffer becomes filled you will here a "beep" from the AT
speaker, which means that you have to stop typing because there is no more
room for the keystrokes.
If you are scrolling a file or inserting spaces in an editor, you are
probably using the auto-repeat feature of your keyboard. QuickKey knows
when keys are being repeated and helps by throttling the data. If a
repeated key would fill up the buffer (and cause a beep) the keystroke is
not placed in the buffer.
Another thing you may have experienced is that when you release the key
in a repeat operation, things on the display seem to keep happening all
by themselves. This is because the keystroke buffer still has data in it.
QuickKey helps here by removing the repeated keys from the buffer. In
other words, it stops on a dime.
/E:
If you got a "101" key keyboard with all those neat keys, you may now be
wondering why programs don't use then or when they do they don't seem to
work right. When IBM came out with the "extended" key board, they didn't
extend the software. In fact, they added new software that doesn't work
the same way as the old did. And they also changed the old software to
make sure the new keys wouldn't work.
This switch will extend the old software in the way it should have been.
If you use programs that support keyboard macros you can now use the
scan codes that never worked before.
The extended scan codes that are activated by this switch have the form
XX00, where the "XX" is a two character hexadecimal number. You may find
the proper code in many reference books. The most important ones are
listed below:
F11 = 85, Shifted F11 = 87, Ctrl F11 = 89, Alt F11 = 8B
F12 = 86, Shifted F12 = 88, Ctrl F12 = 8A, Alt F12 = 8C
Ctrl INS = 92, Alt INS = A2
Ctrl DEL = 93, Alt DEL = A3
Alt HOME = 97, Alt END = 9F
Alt PAGE UP = 99, Alt PAGE DOWN = A1
Ctrl ARROW UP = 8D, Ctrl ARROW DOWN = 91
Alt ARROW UP = 98, Alt ARROW DOWN = A0
Alt ARROW LEFT = 9B, Alt ARROW RIGHT = 9D
KBCTL
Command Synopsis:
C:>KbCtl /Rx /Dy /P /S /C /Q /E
/Rx Sets Typamatic Rate
/Dy Sets Delay Before Repeats
/P Activate 43 line prt scrn (must boot to deactivate)
/S Disable SCROLL LOCK Key
/C Disable CAPS LOCK Correction
/Q Disable QUICK KEY
/E Enable interrupt 16 redirection
x Rate y Delay
------------------------------- ------------------------------
1 30 Chrs/Sec (Default) 1 250 MS (Default)
2 24 Chrs/Sec 2 500 MS (BIOS Default)
3 20 Chrs/Sec 3 750 MS
4 15 Chrs/Sec 4 1000 MS
5 10 Chrs/Sec (BIOS Default)
6 5 Chrs/Sec
Example: "KbCtl /R4 /D2/S"
Sets repeat rate to 15 CPS, the delay before key
repeats to 500MS, and disables the SCROLL LOCK Key.
Options may be in any order, or have any case. However, each must be preceded
by a slash character. Options may be separated by space characters.
The KBCTL program and its supporting documents are copyrighted 10 Jan 1991 by
James Southway
5527 W. Hatcher Rd.
Glendale, Az., 85302
The licence fee for non-comercial right to use is $15.00
There are no written or implied warrenties or guaranties.
Do not use this software if you cannot accept these conditions.